A library for newline character converting.
This crate provides two functions: dos2unix
and unix2dos
that perform the conversion on strings.
The conversion functions are lazy - they don’t perform any allocations if the input is already in correct format.